﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 用户地址
/// </summary>
public partial class SUserAddress
{
    /// <summary>
    /// 站点id
    /// </summary>
    public uint Id { get; set; }

    /// <summary>
    /// 站点所属用户id
    /// </summary>
    public uint UserId { get; set; }

    /// <summary>
    /// 别名
    /// </summary>
    public string Alias { get; set; } = null!;

    /// <summary>
    /// 姓名
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 电话
    /// </summary>
    public string Tel { get; set; } = null!;

    /// <summary>
    /// 所在省
    /// </summary>
    public uint Province { get; set; }

    /// <summary>
    /// 所在市
    /// </summary>
    public uint City { get; set; }

    /// <summary>
    /// 所在县/区
    /// </summary>
    public uint County { get; set; }

    /// <summary>
    /// 详细地址
    /// </summary>
    public string Address { get; set; } = null!;

    /// <summary>
    /// 经度
    /// </summary>
    public decimal Lng { get; set; }

    /// <summary>
    /// 纬度
    /// </summary>
    public decimal Lat { get; set; }

    /// <summary>
    /// 是否默认地址（0否, 1是）
    /// </summary>
    public byte? IsDefault { get; set; }

    /// <summary>
    /// 是否删除（0否，1删除时间戳）
    /// </summary>
    public uint IsDeleteTime { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public uint UpdTime { get; set; }
}
